﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Cxj.WPF
{
    /// <summary>
    /// InputWindow2.xaml 的交互逻辑
    /// </summary>
    public partial class InputWindow2 : Window
    {
        public InputWindow2()
        {
            InitializeComponent();

            List<string> list = new List<string>();
            list.Add("A000");
            list.Add("B111");
            list.Add("C222");
            list.Add("D333");
            list.Add("E444");
            this.comboBox.ItemsSource = list;
        }

        private void Slider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
        {
            tb.Text = (sender as Slider).Value.ToString();
        }

        private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {

        }
    }
}
